package com.olddriver.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter@Setter
public class Client {
    private Long id;
    private Employee inputUser;
    private Employee takeUser;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inputTime;
    private String name;
    private Integer age;
    private Boolean sex;
    private String job;
    private BigDecimal salary;
    private String tel;
    private String email;
    private String address;
    private String source;
    private String qq;
    private String id_card;
    private Byte status;
}